package com.drg.center.entity.param;

import com.drg.center.entity.constants.BusinessDictCodeConstant;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.guaike.core.entity.annotation.ConditionBy;
import com.guaike.core.entity.annotation.IsDictValue;
import com.guaike.core.entity.param.Page;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.time.LocalDate;

/**
 * @Author: zhangxilin
 * @Date: 2024/5/14
 */
@Data
@ApiModel("病例盈亏预测入参DTO")
public class CaseProfitLossDTO extends Page {

    @ApiModelProperty("姓名/病案号/医生")
    private String search;

    @ApiModelProperty("入院日期开始日期")
    @JsonFormat(pattern="yyyy-MM-dd", timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate startDate;

    @ApiModelProperty("入院日期结束日期")
    @JsonFormat(pattern="yyyy-MM-dd", timezone="GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate endDate;

    @ApiModelProperty("科室编码")
    private String departCode;

    @ApiModelProperty("CHS-DRG编码")
    private String chsDrgCode;

    @ApiModelProperty("出院情况（1:治愈，2:好转，3:未愈，4:死亡，9:其他）")
    private Integer outType;

    @ApiModelProperty("死亡情况（1：未死亡，2：死亡）")
    private Integer dieType;
}
